
let obj = {
    // 过渡价格
    "filterPrice": p => p.toFixed(2),
}

export let commonComponent = {
    install(Vue) {
        Object.keys(obj).forEach(k => {
            Vue.component(k, obj[k])
        })
    }
}